package lagou.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.elasticsearch.annotations.Document;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(indexName = "lagou")
public class Products {
  @TableId(type = IdType.AUTO)
  private long id;
  private String name;
  private double price;
  private String flag;
  private String goodsDese;
  private String images;
  private long goodsStock;
  private String goodsType;




}
